package com.yami.shop.mystery.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.mystery.common.model.ActivityWhiteList;

/**
 * 白名单明细业务接口
 *
 * @author wxf
 * @date 2023/4/4 14:57
 */
public interface ActivityWhiteListService extends IService<ActivityWhiteList> {

    /**
     *  校验用户是否在白名单中
     *
     * @param shopId
     * @param activityId
     * @param userId
     * @return
     */
    ActivityWhiteList selectByActivityIdAndUserId(Long shopId, Long activityId, String userId);
}
